<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>add page</title>
    <script language="JavaScript" src="validation-framework.js"></script>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

  </head>
  <body>
  <center>
   <h3>雇员注册：</h3><br>
   <h4><a href="../emp/list.action">查看所有雇员</a></h4>
   <div id="error" style="color:blue; font-weight:bold;"></div>
   <s:form action="add" method="post" onsubmit="return doValidate('form')" name="form" id="form">
   <s:textfield name="employee.name" label="姓名" id="name"/>
   <s:textfield name="employee.address" label="地址"/>
   <s:textfield name="employee.phone" label="电话"/>
   <s:submit value="员工注册"/>
   </s:form>
   </center>
  </body>
</html>
